package cn.ncist.health_interface.service;

import cn.ncist.pojo.OrderSetting;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface OrderSettingService extends IService<OrderSetting> {

    /**
     * 批量导入预约信息
     * @param orderSettingList
     */
    void add(List<OrderSetting> orderSettingList);

    /**
     * 根据月份查询OrderSetting
     * @param date
     * @return
     */
    List<Map<String,Object>> getOrderSettingByMonth(String date);

    /**
     * 根据月份更新可预约数
     * @param orderSetting
     */
    void updateByMonth(OrderSetting orderSetting);
}
